<script type="text/javascript">
	$(document).ready(function() {


    
    });
    
    function filtergrp($list)
    { 
      $('#userspane').load('<?php echo $this->Html->url('/users/ulist/')?>' + $list)
    }
</script>
<?php //pr($ulist); ?>
<section>
<fieldset>
<div id="userlistcmd">
Click each button to see users of that type. <br />
<?php
echo $form->button('<span class="user_green"></span>Users', array('onclick' => 'filtergrp(\'User\')' , 'type' => 'button', 'class' => 'button button-gray accept'));
echo $form->button('<span class="user_orange"></span>Administrators', array('onclick' => 'filtergrp(\'Admin\')' , 'type' => 'button', 'class' => 'button button-gray accept'));
echo $form->button('<span class="user_red"></span>ANA Staff', array('onclick' => 'filtergrp(\'CaseManager\')' , 'type' => 'button', 'class' => 'button button-gray accept'));
?>
&nbsp;&nbsp;&nbsp;&nbsp;
<?php
echo $form->button('<span class="add"></span>Add User', array('onclick' => "location.href='" . $this->Html->url('/users/uprofile') . "'" , 'type' => 'button', 'class' => 'button button-gray accept'));
?>
</div>
</fieldset>
</section>
<div id="userspane">

</div>